package com.learn.dao;

import com.learn.model.Notice;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface NoticeDao extends JpaRepository<Notice, Integer> {
    List<Notice> findByNoticeType(Notice.NoticeType noticeType);
}
